package com.wxq.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wxq.common.utils.PageUtils;
import com.wxq.product.entity.BrandEntity;
import com.wxq.product.entity.BrandEntity;
import com.wxq.product.entity.CategoryBrandRelationEntity;
import com.wxq.product.vo.AttrGroupRelationV0;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author jim
 * @email 2982877319@qq.com
 * @date 2022-03-13 19:57:59
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    public List<CategoryBrandRelationEntity> list(Long brandId);

    void saveDetail(CategoryBrandRelationEntity categoryBrandRelation);
    /**
     * 获取分类关联的品牌
     * @param catId
     * @return
     */
    List<BrandEntity> getBrandsByCatId(Long catId);
}

